computing machinery
An Empirical Study of Vulnerability Localization with Third-Party Reports
Cai, Mingsheng, Santos, Joanna Cecilia da Silva, Sejfia, Adriana
Third-party vulnerability reports are indispensable to software security maintenance, yet they describe how a vulnerability manifests rather than where it resides in code. Software engineers take 24 days to 9 months to localize and fix a reported vulnerability, leaving systems exploitable in the meantime. Automating this process is therefore critical. A natural starting point towards automation is records of past vulnerabilities. However, their value for automated localization has yet to be investigated. In this research, we conduct a large-scale empirical study using PrismVul, a benchmark of 6,851 vulnerability entries from 831 Open-Source Software (OSS) projects spanning 11 programming languages. Each benchmark entry links a third-party report to the corresponding vulnerable code. We evaluate four technique families: statistical methods, machine learning, code retrieval, and LLM agents, alongside general bug localization methods. Our results indicate that automated vulnerability localization is non-trivial, as most vulnerabilities occur at unique locations. Consequently, methods confined to historically observed locations provide limited coverage, whereas comprehensive techniques that look beyond just the location are more promising. With historical third-party reports, LLM agents perform best and outperform the evaluated general bug localization methods, achieving up to 86.09% Recall@5 and reaching 81.76% on previously unseen OSS projects. To account for cases when such reports may be scarce, we consider summary descriptions from public vulnerability databases (e.g., NVD) and establish that they can safely substitute third-party reports in agent-based localization. Our findings establish realistic baselines for automated vulnerability localization and demonstrate the value of historical third-party reports.
Personalized Query Suggestion via Reinforcement Learning with a Production Search Engine in the Loop
Choi, Nayoung, Wei, Xiaokai, Chen, Shengjian, Su, Vincent, Choi, Jinho D.
Personalized query suggestion guides users toward what to search for by recommending queries tailored to their interests. Most prior work optimizes how appealing a suggested query is, but in production the query should also return search results the user finds valuable. On a large-scale gaming platform with a continually growing catalog, we train a small LLM to generate query suggestions from a user's recent play history via reinforcement learning, with the production search engine as the environment. Each query is rewarded by how well its search results cover the user's future game interests, and the query set is further rewarded for covering them jointly. On unseen users and later time periods, the trained model improves Hit@10 and Recall@10 by 9.5% and 11.3% over the initial model, and training with both rewards improves set-level recall@10 by 9.5%. This shows that a production search engine can serve directly as a training environment for personalized query suggestion, steering suggestions toward better search results.
What Comes Next? Teens Learning About and Designing Markov Chains Through Unplugged AI Activities
Noh, Daniel J., Morales-Navarro, Luis, Kafai, Yasmin B.
A Markov chain is a process that describes the probability of a future event based on the most recent event or sequence of events. Despite the foundational role of Markov chains in probabilistic modeling, now particularly relevant given the heightened attention towards generative language models, few efforts have addressed how young people can learn about them. Building on traditions of developing unplugged activities for computing education, we present a collection of five unplugged activities that introduce teens to Markov chains as a simplified entry point for reasoning how generative language models produce text. These activities engage youth with foundational concepts, including state-based prediction, tokenization, n-grams, and state transition diagrams, and in building their own paper-based Markov chains using self-collected datasets using modified, familiar games like rock-paper-scissors. In this experience report, we present examples of student work and reflections from a pilot workshop with 19 consenting teenagers (ages 14-15) who completed these activities before building their own generative language models. We observed that the activities helped participants reason about text generation as a probabilistic process, use patterns in data to make predictions, and explain how training data shapes model output. We hope these activities can inspire future efforts to develop activities that connect foundational methods to the technologies that increasingly shape young people's everyday lives.
Oops, I Did It Again (But I Know It): Robot Failure Consistency and Awareness in Human-Robot Collaboration
Tabatabaei, Ramtin, Kostakos, Vassilis, Johal, Wafa
In human-robot collaboration, repeated failures are inevitable and can undermine trust and perceptions of robot intelligence. While some failures severely disrupt tasks and others are relatively benign, their cumulative impact on trust is not clearly understood. We investigated whether users perceive repeated failures of the same type differently from varied failures, and how robot awareness of its own failures affects these perceptions. In a collaborative physical task with 54 participants, we manipulated failure sequence (homogeneous vs. heterogeneous) and awareness (none, partial, full). Results show that trust and perceived intelligence were influenced by both current and prior failures, with homogeneous sequences leading to smaller reductions in these evaluations compared to heterogeneous ones. Robots displaying awareness, whether partial or full, were consistently rated higher than unaware robots, particularly for grasping and planning failures. Our findings provide a deeper understanding of how failure type, sequence, and robot awareness shape users' perceptions of collaborative robots.
ValQID: Learning the Net Value of Semantic Query Groups for Web Device Identification
Yang, Yifan, Huang, Zhen, Shi, Weijia, Tan, Xichen, Liu, Zhihuang, Li, Xionglve, Cai, Zhiping
Web interfaces are widely used to access network services and manage networked devices. Identifying the vendors and types of devices behind Web interfaces is a critical step in asset inventory, security management, and risk assessment. Device identity cues are dispersed across page text, configuration fields, and management functions, and interpreting them often requires linking related Web objects. Responses and objects require different amounts of semantic analysis, so exhaustively processing all candidate content can introduce unnecessary computation. We present ValQID, which uses a relation graph to combine dispersed device identity cues, evaluates semantic questions efficiently with DSEJEV, and accounts for complementarity among semantic questions when estimating computation value. Based on the current identification state, ValQID weighs each question group's expected identification benefit against its execution cost and adaptively allocates computation to identify device vendors and types. Evaluation on real Web response data shows that ValQID achieves relative gains of up to 47.1% in joint macro-F1 and up to 82.1% in macro-F1 for low-frequency vendors over a state-of-the-art method. DSEJEV speeds up semantic processing by up to 8.58 times compared with general-purpose language models.
Typing Behavior in Human-LLM Interaction: Keystroke Dynamics Reveal Cognitive Effort During Prompting
Schรผtz, Laura, Cherif, Yousri, Sayffaerth, Clara, Weber, Thomas, Chiossi, Francesco
As Large Language Models (LLMs) become increasingly integrated into daily routines, understanding how users interact with these systems is crucial for effective human-AI collaboration. This work investigates keystroke dynamics as a behavioral measure of user mental effort and perceived output usefulness in human-LLM interaction. We conducted a user study (N = 36) to examine how task difficulty (easy vs. hard) and device type (desktop vs. mobile) influence typing behavior and workload (NASA-TLX) during interactions. Our results indicate that hard tasks led to significantly more keystrokes, slower typing, increased pauses, and higher self-reported workload. Device type had weaker effects, with mobile use slightly reducing input length and typing speed. While keystrokes captured differences in cognitive effort, they did not predict perceived LLM output usefulness. These findings highlight the potential of keystroke dynamics as real-time indicators of cognitive effort during LLM prompting, while also showing their limitations in capturing perceived collaboration success.
Do as I Say, Not as You Do: Assessing Public Versus Practitioner Perspectives on the Development of Artificial Intelligence and Language Technologies
With the public awareness of artificial intelligence (AI) applications such as large language models (LLMs) and generative text-to-video models reaching unprecedented levels, there is an increasing need to reconcile the perspectives held by informed practitioners, who research and develop these technologies, with the interests and opinions of the general public, who constitute the majority of people impacted by technological developments. In this work, we survey practitioners (i.e., academics and industry professionals) alongside members of the general public on perspectives relating to pertinent areas of artificial intelligence, including perceived benefit and risk, the ability for models to achieve consciousness and output art, and the use of copyright protected material for model training. Alongside comparisons of diverse perspectives on these topics, we additionally contextualise the findings with a discussion of relevant literature that supports and refutes the myriad observed stances.
Can Ideologues Agree on Quality? From Non-identifiable Latent Factors to Collective Outcomes
Gamba, David, Ha, Seura, Romero, Daniel M., Schoenebeck, Grant
To surface "objective" fact-check notes, X's Community Notes uses Biased Matrix Factorization (BMF) on crowd-sourced ratings to separate note quality from reviewer ideology. We show that for any correctly specified model that decomposes ratings into quality and ideological alignment, this separation requires fixing an ideological anchor: a reference point for what counts as neutral. We give a characterization for the standard implementation: with $L_2$ regularization, BMF anchors quality at a point proportional to the mean reviewer ideology, recovering objective quality if and only if the mean reviewer is neutral, assuming note quality is uncorrelated with note leaning. This parallels the Condorcet Jury Theorem: collective judgment recovers truth when the pool is unbiased on average. When that assumption fails, BMF's recovered ranking shifts toward maximizing aggregate reviewer satisfaction, which coincides with social welfare only when the pool is representative. This is not specific to BMF; the rating matrix admits a continuous family of gauge-equivalent decompositions, each implying a different quality ranking, so no mechanism based on ratings alone can recover quality without implicitly choosing such an anchor. What appears to be routine hyperparameter tuning is in fact a normative choice about whose preferences define quality.
From Head to Tail: LLM-Augmented Sequential Recommendation and Trade-off Optimization
Hande, Adeep, Agah, Shaghayegh, Sharma, Neeraj, Halevy, Karina, Hamidian, Sardar
Recommender systems exhibit popularity bias, often under-serving long-tail and cold-start items with sparse interaction data. We propose a group-specific data augmentation approach that leverages LLMs to generate synthetic interactions, formulated as a constrained optimization problem, maximizing group-specific NDCG@20 and coverage while bounding overall NDCG@20 degradation within an acceptable threshold. Items are partitioned by interaction frequency to find the optimal augmentation strategy for each group. We further study combining the augmentation across groups simultaneously and find that while individual optimal strategies navigate the multi-group augmentation design, they are not simply additive. We further ablate on the LLM-based augmentation itself, comparing LLM scales, augmentation configuration under token constraints, finding that augmentation quality scales with contextual richness, albeit at a proportionally higher cost. Experiments with SASRec demonstrate the effectiveness of the proposed approach, achieving over 100% and 60% improvement in group-specific NDCG@20 for extreme and regular long-tail items, respectively, on our industrial dataset, and 40%, 25% for MovieLens-32M, while increasing their coverage without significant overall degradation.
Adding One More Agent: How AI Team Size and Formation Shape Productivity and Diversity in Human-AI Brainstorming Teams
Chang, Rong-Ching, Wang, Hao-Chuan
Generative AI has improved individual productivity, but whether adding a plurality of AI partners helps or hurts remains open. We crossed AI partnership (one versus two) with behavioral formation (calibrated to average human behavior versus customized by the participant) in a brainstorming experiment ($N$=168) with human-human dyads as reference. Two-AI rooms posted more ideas to the shared board, but human-authored ideas dropped substantially. With one AI partner, formation mattered: humans paired with an average-calibrated AI posted more than any other condition. With two, this effect vanished. Humans continued talking but converted fewer ideas into board posts. AI social talk predicted more human posts, while AI posting volume predicted fewer. AI presence increased global diversity of human-authored ideas, but only a second AI increased within-session differentiation. The number of AI partners and their formation can reshape what the human contributes; single-agent results do not generalize to multi-agent teams.